'use strict';

angular.module('myApp.members', ['ngRoute'])

.config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/members', {
    templateUrl: 'members/list.html',
    controller: 'MembersCtrl'
  });
}])

.controller('MembersCtrl', [
    '$scope', '$routeParams', '$http',
    function ($scope, $routeParams, $http) {
        var members = [];
        for (var i = 0; i < 24; i++) {
            members.push({});
        }
        $scope.members = members;
    }
]);